main()
{
char x;
while(x=0;x<=255;x++)
printf("\nAscii value %d Charater %c",x,x);
}
Answers were Sorted based on User's Feedback
Answer / ashutosh tiwari
syntax error: while will never have initialization or
increment. it only have condition.
| Is This Answer Correct ? | 22 Yes | 1 No |
Explain how can you avoid including a header more than once?
what are enumerations in C
What is the difference between constant pointer and constant variable?
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
What is infinite loop?
why do we use pointer instead directly acessing the data?
main() { printf(5+"Vidyarthi Computers"); }
What are structural members?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
code for replace tabs with equivalent number of blanks