print out of string in this format;
1. "rajesh"
2. \n
3. %d
Answers were Sorted based on User's Feedback
Answer / rajesh sharma
sir I am not knowing that answer of Question.
if you know the answer , please mail me the ans my mail
rajeshshrm136@gmail.com
please sir..
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / helen sobia
#include<stdio.h>
void main()
{clrscr();
char ch='d';
pritf("1.\t"rajesh"\n");
printf("2.\t\\n\n");
printf("3.\t%%s",ch);
getch();
}
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / 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 |
Answer / sanjay bhosale
No need of extra variable :
You can simply write...
printf("\n1.\t\"Rajesh\"");
printf("\n2.\t\\n");
printf("\n3.\t%%d");
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bibekananda bhuyan
#include <stdio.h>
int main (void)
{
printf("1."Rajesh"
");
printf("2.\n
");
printf("3.%%d");
return(0);
}
Is This Answer Correct ? | 0 Yes | 0 No |
What is the g value paradox?
Explain what is the difference between a string and an array?
how to swap 2 numbers in a single statement?
Is r written in c?
what is the size of an integer variable?
#define d 10+10 main() { printf("%d",d*d); }
Can we increase size of array in c?
Explain zero based addressing.
How to get string length of given string in c?
What are the 4 types of unions?
What is the difference between struct and typedef struct in c?
What is the role of this pointer?