User defined function of strcpy() strcpy is used to copies a string to another. Prototype of strcpy() function : char*
Q15 Write your own C program of strlen(), strcpy(), strncpy() and strcmp()
Interview can ask write your own program or user defined function of strlen(), strcpy(), strncpy(). User defined function of strlen() strlen
We are very close to face sixth mass extinction, threaten humanity’s existence – scientists warn
Mass extinction means three out of every four species you are familiar with would disappear off the face of the
Ten new features of Apple’s iOS 9 vs iOS 8
At the Worldwide Developers Conference last night, Apple announced a slew of features that will be coming to iPhones and
3 Reasons Why Windows 10 Mobile Will Be Awesome
Microsoft has announced Windows 10 Mobile Insider Preview Build 10136, which comes with some major improvements on the previous build.
The creator of Linux OS is calm about the future
Linus Torvalds released the Linux operating system from his college dorm room in Finland in 1991. Since then, the software
Q14. Write a C program to reverse the place of words in a sentence.
Suppose input is “Welcome to gyantoday” then output should be “gyantoday to welcome” Steps of algorithm: Reverse whole sentence first.
Q13. Write a C program to reverse a word.
Also interviewer can ask to write a C program to reverse a string. In below program we give input “welcome
What should we must check before buying a smartphone ?
SAR (Specific Absorption Rate) – From childhood we are listening HEALTH IS WEALTH, so why should not consider it before
Q12. Write a program to print diagonal element of an N*N matrix.
Lets take a matrix of 4*4 i.e. int matrix [4][4]; 11 12 13 14 21 22 23 24 31
Q11. How to generate fibonacci sequence up to given nth number?
First we should know what fibonacci sequence is: The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13,
Q10. How to fast multiply a number by 4?
Bitwise operations are slightly faster than addition and subtraction operations and usually significantly faster than multiplication and division operations. Because
Q9. Write a C program to swap two variables without using any temporary variable.
It is easy to swap two variables by using a temp variable, but question is slightly different. Method 1: x
Q8. How to add two numbers without using plus operator?
We can add two numbers without using plus operator, many of us quickly reply with below answer. a – (-b)