| Other C Interview Questions |
|| Asked @
|How to write in a function declaration and in function call in
which the function has 'n' number of varible or arguments?
|What is the output from this program?
void do_something(int *thisp, int that)
the_other = 5;
that = 2 + the_other;
*thisp = the_other * that;
int first, second;
first = 1;
second = 2;
printf("%4d%4d\n", first, second);
|is assignment operator is arithmatic or not
|2.Given the short c program that follows
a. make a list of the memory variables in this program
b.which lines of code contain operations that change the
contents of memory? what are those operations?
Void main( void)
Printf(“enter base and height of triangle :”);
Printf(“the area of the triangle is %g \n”,area);
|write a program to swap two variables a=5 , b= 10 without
using third variable
Taking an example,differentiate b/w loader and linker ?
|explain memory layout of a C program
|Write a c program to find, no of occurance of a given word
in a file. The word is case sensitive.
|write a c program for greatest of three numbers without
using if statment
|who developed c and why he developed c?
|For more C Interview Questions Click Here |