how to TOGGLE Nth bit of variable in a MACRO
What is masking?
write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview
2 Answers Satyam, UNIS, Wipro,
what is the difference between NULL('\0') and 0?
What is wrong with this initialization?
What is sizeof int in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What is c variable?
1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā%dā,x); --x; } }
Does sprintf put null character?
main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??
19 Answers EBS, Ramco, Sangwin, TCS,
How many loops are there in c?