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


Please Help Members By Posting Answers For Below Questions

Write a program to check whether a number is prime or not using c?

567


What is the use of header files?

594


What is sizeof return in c?

609


What does %2f mean in c?

672


Differentiate between new and malloc(), delete and free() ?

663






How can I invoke another program or command and trap its output?

608


define string ?

660


Explain 'bit masking'?

644


What is pointer and structure in c?

561


State the difference between realloc and free.

623


Why does not c have an exponentiation operator?

622


How can I split up a string into whitespace-separated fields?

562


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

653


What is null pointer constant?

590


Tell me what is the purpose of 'register' keyword in c language?

611