write a program that will print %d in the output screen??
Answers were Sorted based on User's Feedback
void main()
{
printf("%%d");
getch();
}
where %% will print % and d will be printed asual
thank u
Is This Answer Correct ? | 39 Yes | 2 No |
Answer / mahendra vishwakarma
#include<stdio.h>
void main()
{
printf("%%d"); //this will print as %d output.
}
Is This Answer Correct ? | 21 Yes | 0 No |
Answer / j j ramesh
# include <stdio.h>
void main()
{
puts("%d");
}
Is This Answer Correct ? | 9 Yes | 5 No |
Answer / aditya singh
//wap to print %d on the screen//
#include<stdio.h>
main()
{
char a = '%';
char b = 'd';
printf("%c",a);
printf("%c",b);
getch();
}
Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of typedef in structure in c?
What is variable initialization and why is it important?
What is function and its example?
Explain what does it mean when a pointer is used in an if statement?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
how to construct a simulator keeping the logical boolean gates in c
What is the usage of the pointer in c?
what is default constructor?
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
can anyone suggest some site name..where i can get some good data structure puzzles???
What does volatile do?
What is pass by reference in functions?