C MCQ set number 00694

1. What is the output of this C code (considering sizeof char is 1 and pointer is 4)? #include <stdio.h> int main() { char *a[2] = {”hello”, “hi”}; printf(”%d”, sizeof(a)); return 0; } a) 9 b) 4 c) 8 d) 10 AnswerAnswer: c [Reason:] None. 2. What is the output of this C code? #include…

This content is for paid premium members only.
You can view complete answer after activation your membership.
Buy membership
Already a member? Log in here
ed010d383e1f191bdb025d5985cc03fc?s=120&d=mm&r=g

DistPub Team

Distance Publisher (DistPub.com) provide project writing help from year 2007 and provide writing and editing help to hundreds student every year.