Top

Discussion

What will be the output of the program ?

#include

int main()
{
    float arr[] = {12.4, 2.3, 4.5, 6.7};
    printf("%d\n", sizeof(arr)/sizeof(arr[0]));
    return 0;
}

 

  • A.5
  • B.4
  • C.6
  • D.7

Answer: B

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment