Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Suppose that in a C program snippet, following statements are used:
i) sizeof(int)
ii) sizeof(int*)
iii) sizeof(int**)
Assuming size of pointer is 4 bytes and size of int is also 4 bytes, pick the most correct answer.





Solution

Given that size of int = 4 bytes and size of pointer = 4 bytes, sizeof(int) = sizeof(int*) = sizeof(int**) = 4 bytes.


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...