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 is a newline escape sequence?
Describe wild pointers in c?
What do you mean by recursion in c?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What are the different types of C instructions?
How can you pass an array to a function by value?
Describe newline escape sequence with a sample program?
What does sizeof function do?
How can I find the modification date and time of a file?
Why do we use pointer to pointer in c?
What do you mean by command line argument?
What are the 5 types of inheritance in c ++?
Explain the difference between malloc() and calloc() function?
What is a struct c#?