write a program to print %d ?

Answer Posted / chinna

#include<stdio.h>
#include<conio.h>
void main()
{
printf("%d");
}

Is This Answer Correct ?    15 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement a packet in C

2401


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

656


What the advantages of using Unions?

677


Do character constants represent numerical values?

848


What are pointers really good for, anyway?

621






Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

648


Differentiate between Macro and ordinary definition.

734


What is the newline escape sequence?

591


Is javascript based on c?

598


What is scope of variable in c?

573


Why can’t we compare structures?

818


how to capitalise first letter of each word in a given string?

1436


Why clrscr is used after variable declaration?

1045


What is optimization in c?

572


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2415