What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answer Posted / rekha
It will print 0 to 127
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
Is c still used?
Explain how do you declare an array that will hold more than 64kb of data?
Why are all header files not declared in every c program?
What is a union?
Do pointers store the address of value or the actual value of a variable?
Explain the use of keyword 'register' with respect to variables.
Difference between macros and inline functions? Can a function be forced as inline?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
Write a program of prime number using recursion.
write a program to rearrange the array such way that all even elements should come first and next come odd
What is d'n in c?
Is struct oop?
Why do we need functions in c?
Does c have class?
How can I recover the file name given an open stream?