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 first address that gets stored in stack according to a C or C++ compiler???? or what will be the first address that gets stored when we write a C source code????????
What is the difference between void main() and int main()?
What is wrong with this statement? Myname = 'robin';
Which programming language is best for getting job 2020?
what is ans for this scanf(%%d",c);
What is ctrl c called?
What is the difference between ++a and a++?
write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com
What is the difference between File pointer and Internal Charecter Pointer?
what is difference between ++(*p) and (*p)++
17 Answers Accenture, HCL, IBM,
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*
Explain the binary height balanced tree?