What are the different flags in C? And how they are useful?
And give example for each in different consequences?



What are the different flags in C? And how they are useful? And give example for each in different..

Answer / archana

\a , \f, \r, \n , \b are the flags
\a means audible bell
\n= new line
\r= next page

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??

19 Answers   EBS, Ramco, Sangwin, TCS,


What does it mean when the linker says that _end is undefined?

0 Answers  


How can I find out how much memory is available?

1 Answers   Persistent,


int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 Answers   Vector,


how to add numbers without using arithmetic operators.

14 Answers   TCS,






What is merge sort in c?

0 Answers  


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

0 Answers  


convert 0.9375 to binary

2 Answers   CTS, TANCET,


Why do we use & in c?

0 Answers  


WAP to convert text into its ASCII Code and also write a function to decode the text given?

2 Answers  


How can I prevent another program from modifying part of a file that I am modifying?

0 Answers  


how to determine the complexity of an algorithm as log(n)

1 Answers   Google,


Categories