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 |
How can I discover how many arguments a function was actually called with?
Write a program to print numbers from 1 to 100 without using loop in c?
how to use enum datatype?Please explain me?
write a c program to print "Welcome" without using semicolon in the whole program ??
What are the key features of C?
What are two dimensional arrays alternatively called as?
which types of data structure will i use to convert infix to post fix???
please send me papers for Dy. manager IT , PNB. it would be a great help for me.
How can I write a function that takes a format string and a variable number of arguments?
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }
How can I dynamically allocate arrays?
What is the scope of static variables?