Pointers - Point Out Correct Statements Multiple Questions and Answers.




6.Which statement will you add to the following program to ensure that the program outputs "PakMcqs" on execution?
A. *pt='';
B. pt='\0';
C. pt='\n';
D. *pt='\0';

7.In the following program add a statement in the function fact() such that the factorial gets stored in j?
A. j=s;
B. *j=s;
C. *j=&s;
D. &j=s;

«



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers