Wednesday, 10 December 2014

Programming Quiz-13

Q: What is the output of this C code?

#include <stdio.h>

int main()

{

    printf("crazyfo\rcode\n");

    return 0;

}

Options:

a) crazyforcode
b) crazyfor
code
c) codeyfor
d)codeyfo

Answer: D

No comments:

Post a Comment