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 are the differences between new and malloc in C?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.
Can i use “int” data type to store the value 32768? Why?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
Explain what is meant by high-order and low-order bytes?
Write a program to print all the prime numbers with in the given range
8 Answers ABC, College School Exams Tests, TCS,
what is the diff b/w static and non static variables in C. Give some examples plz.
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is a scope resolution operator in c?
can anyone please tell about the nested interrupts?