Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
No Answer is Posted For this Question
Be the First to Post Answer
Juxtapose the use of override with new. What is shadowing?
write a progam to compare the string using switch case?
What is adt in c programming?
Why string is used in c?
Explain built-in function?
What is the difference between functions getch() and getche()?
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
why we need function pointers?
What are the benefits of c language?
Explain what does a function declared as pascal do differently?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What is the output of the below program and how it is? void main() { static int var=5; printf("%d",var--); if(var) main(); }
8 Answers MindFire, TCS, Tech Mahindra,