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 |
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
write a program to add two numbers of any size.....(remember any size)
#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
What is the size of structure in c?
Explain what is a 'locale'?
how should functions be apportioned among source files?
What is a pointer?
List the different types of c tokens?
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
how to use showbits function?
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,