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 / mohmedali
garbage values
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What are variables c?
How to implement a packet in C
Is it acceptable to declare/define a variable in a c header?
Why is it usually a bad idea to use gets()? Suggest a workaround.
How can I remove the leading spaces from a string?
What is pointer to pointer in c with example?
what are the advantages of a macro over a function?
What does c mean in standard form?
What is the use of void pointer and null pointer in c language?
What is the purpose of 'register' keyword in c language?
Is file a keyword in c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
How can type-insensitive macros be created?
Can the size of an array be declared at runtime?