int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);

Answer Posted / vikramanj

int i=10[;]
main()
{
int i=20,n;
for(n=0;n<=i;)
{
int i=10[;]
i++;
}
printf("%d", i);
The syntax errs r specified in sq.braces..
if its corrected there s no terminating condition also..
so no o/p..

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the heap?

681


What are header files? What are their uses?

632


Differentiate between functions getch() and getche().

618


What are the disadvantages of external storage class?

584


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

595






ATM machine and railway reservation class/object diagram

4798


What do you mean by dynamic memory allocation in c?

644


Explain how do you determine a file’s attributes?

588


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1115


Can main () be called recursively?

622


How do you redirect a standard stream?

618


Does sprintf put null character?

595


difference between Low, Middle, High Level languages in c ?

1628


How can I automatically locate a programs configuration files in the same directory as the executable?

624


What is the modulus operator?

730