Sail E0 Webinar
Question


What will be the output of the program?


#include<stdio.h>
int main()
{
typedef int arr[5];
arr iarr = {1, 2, 3, 4, 5};
int i;
for(i=0; i
Options:
A .  1, 2, 3, 4
B .  1, 2, 3, 4, 5
C .  No output
D .  Error: Cannot use typedef with an array
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers