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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the usage of pointer in c?

710


What is typedf?

676


Compare and contrast compilers from interpreters.

694


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1746


Why main is not a keyword in c?

656






How can you find the day of the week given the date?

629


How is = symbol different from == symbol in c programming?

624


Is c procedural or object oriented?

593


How are variables declared in c?

607


Explain argument and its types.

614


Write a program to swap two numbers without using third variable in c?

626


Tell me what is the purpose of 'register' keyword in c language?

628


code for replace tabs with equivalent number of blanks

1649


In C language what is a 'dangling pointer'?

650


What are the difference between a free-standing and a hosted environment?

753