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 / sh college,thevara
-128
| Is This Answer Correct ? | 31 Yes | 8 No |
Post New Answer View All Answers
Write a program to check whether a number is prime or not using c?
How can you restore a redirected standard stream?
Explain what are linked list?
What is difference between stdio h and conio h?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Write a progarm to find the length of string using switch case?
How do c compilers work?
What are the 3 types of structures?
What is the use of linkage in c language?
Can we change the value of constant variable in c?
What is main () in c language?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Write a program to reverse a string.
What is difference between constant pointer and constant variable?
C language questions for civil engineering