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 / gautam
0 to 127
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What are c identifiers?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is time null in c?
using only #include
Is c pass by value or reference?
can we change the default calling convention in c if yes than how.........?
How is pointer initialized in c?
Can you subtract pointers from each other? Why would you?
What is a lvalue
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What is array in C
Explain how do you list a file’s date and time?
What is a static variable in c?
What are the __date__ and __time__ preprocessor commands?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9