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 |
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
Explain what is gets() function?
Difference between C and Embedded C?
what is the difference between call by value and call by reference?
5 Answers Genpact, Global Logic, Infosys,
What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.
what do you mean by inline function in C?
what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }
Describe the steps to insert data into a singly linked list.
Does sprintf put null character?
What is the restrict keyword in C?
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,
create an SINGLE LINKED LISTS and reverse the data in the lists completely