Single Choice Not Set

QWhat would be the output of the following program?

#include<stdio.h> 
void main()
{
 char   *s1, *s2;
 printf("%d %d \n",sizeof(s1),sizeof(s2));
}

ID: #1398 Operators and Enums in C Language 948 views
Question Info
#1398Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 4 4
  • B 4 8
  • C 8 4
  • D 4 5
Correct Answer

Explanation

Run in 64-bit machine
4 4 Press any key to continue . . .

Share This Question

Challenge a friend or share with your study group.