print out of string in this format;
1. "rajesh"
2. \n
3. %d

Answers were Sorted based on User's Feedback



print out of string in this format; 1. "rajesh" 2. \n 3. %d..

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

print out of string in this format; 1. "rajesh" 2. \n 3. %d..

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

print out of string in this format; 1. "rajesh" 2. \n 3. %d..

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

print out of string in this format; 1. "rajesh" 2. \n 3. %d..

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

print out of string in this format; 1. "rajesh" 2. \n 3. %d..

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

Post New Answer

More C Interview Questions

Why C language is a procedural language?

0 Answers   Ericsson,


What does typeof return in c?

0 Answers  


write a programme to convert temperature from farenheit to celcius?

4 Answers   IBM,


suppose there are five integers write a program to find larger among them without using if- else

2 Answers  


long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 Answers   Acropolis, HCL, Intel, TCS,






Explain do array subscripts always start with zero?

0 Answers  


What is s in c?

0 Answers  


Process by which one bit pattern in to another by bit wise operation is?

0 Answers   InterGraph,


can we have joblib in a proc ?

0 Answers  


What is c basic?

0 Answers  


diff. between *p and **p

3 Answers  


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

0 Answers  


Categories