| Other C Interview Questions |
|| Asked @
|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);
|which one is better structure or union?(other than the
space occupied )
|if the address of a[1,1] and a[2,1] are 1000 and 1010
respectively and each occupies 2 bytes then the array has
been stored in what order?
|Which of the following is not a valid declaration for main
1) int main()
2) int main(int argc, char *argv)
3) They both work
|What are the different flags in C? And how they are useful?
And give example for each in different consequences?
|which do you prefer C or Pascal?
|Write a C/C++ program to add a user to MySQL. The user should
be permitted to only "INSERT" into the given database
|write a program in 'c' to find the value of p[i+1]^n.p,i,n
are arguments of a macro and n is a integer
|Input any no. and print all the the numbers that comes
before it like this
for e.g input = 4
plz answer it 2day
|write a C code
to reverse a string using a recursive function, without
swapping or using an extra memory.
|IS it possible to define a zero sized array in c.if it is
possible how can the elements of that array can be
accessed.array index starts from zero,if it is possible to
define zero sized array how can be its first element can be
|If the static variable is declared as global,
will it be same as extern?
|For more C Interview Questions Click Here |