What is the output of the program
#include<stdio.h>
#include<conio.h>
void main()
{0
int i,j=20;
clrscr();
for(i=1;i<3;i++)
{
printf("%d,",i);
continue;
printf("%d",j);
break;
}
getch();
}
Answer Posted / p.yamini
1,2 20
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
Which is more efficient, a switch statement or an if else chain?
explain what is an endless loop?
why do some people write if(0 == x) instead of if(x == 0)?
What is memory leak in c?
What is character constants?
Can we add pointers together?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Which node is more powerful and can handle local information processing or graphics processing?
What are header files why are they important?
Why is c faster?
What is character set?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is sizeof c?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9