At the Worldwide Developers Conference last night, Apple announced a slew of features that will be coming to iPhones and
Author: Gyantoday
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)
Q7. How to find in one line whether a given number is power of 2 or not?
It seems difficult question for them, who have encountered these type of earlier. This type of question checks your understandings
Q6. Write a C program to convert a decimal number into a binary number system.
I am sure we all know about number system, still I would like to explain about binary and decimal number
Q5. Find the size of structure without using sizeof() operator.
To find size of a structure. We can use a pointer as we know if we increment structure pointer by