How will you print \n on the screen?

Home | Discussion Forum
Taiyari24Hour

How will you print \n on the screen?



View More Related Question

2) How will you print \n on the screen?

3) What will be the output of the program ?

  #include<stdio.h>
int main()
{
printf("Study 2 Online", " C Language MCQ\n");
return 0;
}

4) What will be the output of the program ?

 #include<stdio.h>
int main()
{
int i;
char a[] = "\0";
if(printf("%s", a))
printf("empty string\n");
else
printf("not empty string \n");
return 0;
}

5) Which is more appropriate for reading in multi-word string?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.