Program for a single new-line character, Programming Languages

The following function calls supposedly write a single new-line character, but some are incorrect. Identify which calls don't work and explain why.

    printf("%c", '\n');        

    printf("%c", "\n");        

    printf("%s", '\n');        

    printf("%s", "\n");        

    printf('\n');              

    printf("\n");              

    putchar('\n');             

    putchar("\n");              

    puts('\n');                

    puts("\n");                

    puts("");

Posted Date: 3/7/2013 12:31:10 AM | Location : United States







Related Discussions:- Program for a single new-line character, Assignment Help, Ask Question on Program for a single new-line character, Get Answer, Expert's Help, Program for a single new-line character Discussions

Write discussion on Program for a single new-line character
Your posts are moderated
Related Questions

write a program to sort the file sequential order and store on magnetic tape and print sorted tape as the output of the program.


The schematic of the traffic light controller is as shown in figure 1. There are three control buttons on the panel: HAZ (Hazard), LT (Left) and RT (Right). Whenever, HAZ is clicke

What are Attributes in HTML langauge? A few tags have attributes. An attribute is a name, followed through an = sign, followed by the value. For instance, to make a centered H1

I have a problem which seems to be quite a rare one and I can safely say I know what exactly what is causing it. After some process of elimination I reached the conclusion that, in

I have constantly been emailing to get the task i had paid for to be done correctly but no replies from anyone. Not even one acknowledging my emails. Been phoning all the way from

1. Write a bash shell script which searches through your folders for files with the extension *.tex, and then interactively deletes the corresponding *.aux, *.dvi and *.log files (

create a small database for a company, require at least 4 tables. also, have 4 business report, oracle built-in function, 5 string, 5 number or math functions, 5 date and time func

Expertsmind brings you unique solution in java assignments Reflection API Uses of Reflection with java assignment help Reflection is widely used by applications which