print out of string in this format;
1. "rajesh"
2. \n
3. %d
Answer Posted / saikiran
#include<stdio.h>
#include<conio.h>
void main()
{
char ch='d';
clrscr();
printf("1.\t""rajesh""\n");
printf("2.\t\\n\n");
printf("3.\t%%%c",ch);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to write optimum code to divide a 50 digit number with a 25 digit number??
Write a code on reverse string and its complexity.
What are run-time errors?
What do you mean by dynamic memory allocation in c? What functions are used?
Is that possible to add pointers to each other?
what do you mean by enumeration constant?
State two uses of pointers in C?
Who invented b language?
What are the valid places to have keyword “break”?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is a global variable in c?
What is type qualifiers?
What is main return c?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Is null always equal to 0(zero)?