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 difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?
please help me.. how to write a code of this output?? "Enter range number:"10 1 is an odd number 2 is an even numbers 3 in an odd numbers 4 " to 10" "printing all odd numbers:" 1,3,5,7,9 "printing all even numbers:" 2,4,6,8,10 "sum of all odd numbers:25 "sum of all even numbers:30 using a C Programming ARRAY pleas pleas help.. its my project ..please :(
How pointer is benefit for design a data structure algorithm?
Can a pointer point to null?
What is a good way to implement complex numbers in c?
Write a program in c to input a 5 digit number and print it in words.
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Which type of language is c?
Are the variables argc and argv are always local to main?
what is the difference between unix os and linux os
Is c easy to learn?
how can we use static and extern?and where can we use this?