Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a program that takes a 5 digit number and calculates 2 power that number and prints it

7 Answers  


what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7

4 Answers   TCS,


without a terminator how can we print a message in a printf () function.

7 Answers   NIIT,


What is the difference between macros and inline functions?

5 Answers   Global Edge, L&T,


Explain why c is faster than c++?

0 Answers  






Why enum is used in c?

0 Answers  


What is preprocessor with example?

0 Answers  


What are the application of c?

0 Answers  


Is a house a shell structure?

0 Answers  


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers  


What is a pointer and how it is initialized?

0 Answers  


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

0 Answers  


Categories