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
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

(a) Define a procedure called make-avl-tree which makes an AVL tree with one node. Also create another constructor build-avl-tree that creates an AVL tree from a root, left subtree

Expertsmind brings you unique solution in java assignments I.O streams The Java.io packages contains nearly every category you might ever need to execute feedback and resu

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Expertsmind brings you unique solution in java assignments Applet In processing, and the apple company is any little application that works one specific process that works

ASP.NET Support for AJAX and JavaScript IntelliSense IntelliSense for Enthusiasm JScript makes it accessible client-script selection components in the value manager in Vision Facil

Write a program that inputs two positive integers of, at most, 20 digits and outputs the sum of the numbers. If the sum of the numbers has more than 20 digits, output the sum with


You must implement the control mechanism for the robot arm so that it can safely move the blocks from the source pile to their destination, without colliding with any obstacles or

How to run java program?