Programming Language Array in C Language Question #1429
Single Choice Not Set

QWhat will be the output of the program?

#include<stdio.h>
void main()
{
    float arr[] = {12.4, 2.3, 4.5, 6.7};
    printf("%d", sizeof(arr)/sizeof(arr[0]));
}

ID: #1429 Array in C Language 1,014 views
Question Info
#1429Q ID
Not SetDifficulty
Array in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 5
  • B 4
  • C 6
  • D no output
Correct Answer

Explanation

4

Share This Question

Challenge a friend or share with your study group.