To find size of a structure. We can use a pointer as we know if we increment structure pointer by
Month: May 2015
Q4. Write a program to print numbers from 1 to 100 without using loops.
There is nothing tough to write this program, only trick should click in your mind at time of program. I
Q3. Write a C program to check given number is palindrome or not ?
Also Interviewer can ask to you, write a C program to check given string is palindrome or not? Palindromes are
Q2. Write a C program to calculate power of a number (x,y).
There may be multiple method to calculate power of a number. Method 1: Using function recursion #include<stdio.h> int power(int a, unsigned
Q1. Find the factorial of a given number using recursion
Generally these type of question ask, to check your knowledge of function recursion. Given below C program to find factorial
Hello Friends !!!!!
Here I am going to post one by one 101 most important interview questions on C. I am very much