LogiQuest
Back to Arrays
1

What will be the output of the program?

#include <stdio.h>

int main(void) {
    int a[] = {4, 8, 15, 16, 23, 42};
    printf("%zu\n", sizeof(a) / sizeof(a[0]));
    return 0;
}
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.