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

Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1510


What do you mean by dynamic memory allocation in c?

653


Can a local variable be volatile in c?

579


When can you use a pointer with a function?

571


How do I send escape sequences to control a terminal or other device?

614






will u please send me the placement papers to my mail???????????????????

1367


Explain how do you determine a file’s attributes?

595


Write a program to implement queue.

667


Write a program to reverse a linked list in c.

648


What are the types of type specifiers?

624


What is the difference between text and binary modes?

649


What is s in c?

619


What is hashing in c?

645


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

589


Place the #include statement must be written in the program?

574