write a program that will print %d in the output screen??
Answer Posted / 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 |
Post New Answer View All Answers
How can I read a binary data file properly?
What is the difference between int main and void main in c?
How do you write a program which produces its own source code as output?
how can use subset in c program and give more example
What is bss in c?
How will you delete a node in DLL?
What is 1f in c?
What is a newline escape sequence?
what will be the output for the following main() { printf("hi" "hello"); }
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is a program flowchart and explain how does it help in writing a program?
How do you define structure?
Why should I prototype a function?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is default value of global variable in c?