| Other C Interview Questions |
|| Asked @
|we have to use realloc only after malloc or calloc ? or we
can use initially with out depending on whether we are
using malloc or calloc in our program ?
|explain about storage of union elements.
|what is the answer for it
|How to reverse a string using a recursive function, with
|is compiler do read the data line by line or not.
|what is computer
int i = 10;
printf(" %d %d %d \n", ++i, i++, ++i);
|write a program for even numbers?
|Write a program in c to input a 5 digit number and print it
|9.how do you write a function that takes a variable number
of arguments? What is the prototype of printf () function?
10.How do you access command-line arguments?
11.what does ‘#include<stdio.h>’ mean?
12.what is the difference between #include<> and #include”…”?
13.what are # pragma staments?
14.what is the most appropriate way to write a
|1. Write a C program to count the number of occurrence
a specific word in the given strings.
(for e.g. Find how many times the word “live” comes in the
sentence “Dream as if you’ll live forever, live as if
you’ll die today ”)
|write a program in c to find out the sum of digits of a
number.but here is a condition that compiler sums the value
from left to right....not right to left..
|For more C Interview Questions Click Here |