#‎include‬<stdio.h>
void main()
{
int i;
for(i=5;0;i++)
{
printf("%d",i);
}
}
Answers were Sorted based on User's Feedback
Answer / khushbu srivastva
a error will be generated i.e unreachable code
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / deepika agrawal
an error will be encountered in the begining of the program...
| Is This Answer Correct ? | 2 Yes | 0 No |
What is c system32 taskhostw exe?
How can I insert or delete a line (or record) in the middle of a file?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Define Spanning-Tree Protocol (STP)
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?
#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 Answers CDAC, GATE, NDS, TCS,
Where is c used?
What are the types of type specifiers?
Can you think of a logic behind the game minesweeper.