What will be the output of the program ? int main() { float arr[] = {12.4,…
PYQ Hexaware Hiring Assessment 2024
What will be the output of the program ?
int main()
{
float arr[] = {12.4, 2.3, 4.5, 6.7};
printf("%d\n", sizeof(arr)/sizeof(arr[0]));
return 0;
}
- A.
4
- B.
5
- C.
6
- D.
7
Attempted by 969 students.
Sign up free to check your answer
Sign up freeLoading lesson…

