a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
6 14718f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
5 10713macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration
12 36610enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
8 44495
How is a macro different from a function?
What is the use of a conditional inclusion statement in C?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Which is better between malloc and calloc?
How can I trap or ignore keyboard interrupts like control-c?
What is the difference between a string and an array?
Is Exception handling possible in c language?
What is the stack in c?
Which of these functions is safer to use : fgets(), gets()? Why?
What is logical error?
Explain how do you declare an array that will hold more than 64kb of data?
code for quick sort?
What is huge pointer in c?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is NULL pointer?