what is op?
for(c=0;c=1000;c++)
printf("%c",c);

Answer Posted / ksprasad

It will go for infinite loop.
But in each iteration, c is assigned with the value 1000.
So each time it will print a character of ascii=1000.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print all permutations of a given string.

638


What is the general form of function in c?

607


Why is it usually a bad idea to use gets()? Suggest a workaround.

896


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3052


How does #define work?

642






can anyone suggest some site name..where i can get some good data structure puzzles???

1643


What is the difference between memcpy and memmove?

598


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

663


What is d scanf?

586


What are the features of c languages?

624


How can I do serial ("comm") port I/O?

683


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

743


Explain why C language is procedural?

766


The difference between printf and fprintf is ?

716


What are loops in c?

546