main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / prakruthi
ryt answer is 3 for sure
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is a dynamic array in c?
What is #pragma statements?
What is the heap in c?
Where is volatile variable stored?
Explain function?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What are the disadvantages of external storage class?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What are different types of pointers?
Write a program to check prime number in c programming?
Can we access array using pointer in c language?
What does char * * argv mean in c?
What is clrscr in c?
How do you sort filenames in a directory?
What does *p++ do? What does it point to?