Top

Discussion

Assume that a character takes 1 byte. Output of following program?

#include 
int main() 
{ 
    char str[20] = "GeeksQuiz"; 
    printf ("%d", sizeof(str)); 
    return 0; 
} 

 

  • A.9
  • B.10
  • C.20
  • D.Garbage Value

Answer: C

No answer description available for this question.
 

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

Post your comment