Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Wednesday, 30 June 2021

Interview Hack#33 Answer

What will be the output of the following program? c questionsc (null)(null) (null)(null) questionsNone of aboveCorrect answer (null) (null) & None of aboveRun time Error or (null) (null) output varies with compilerExplanation:We cannot assign any string constant...

Tuesday, 29 June 2021

Interview Hack#32 Answer

What will be the output of the following program?Address, Address, 3Address, 3, 33, 3, 3Compilation errorNone of theseCorrect Answer 1)Address, Address, 3Explanation:Value of k is memory location defined for k.Value of *k means the content of memory location which address k...

Monday, 28 June 2021

Interview Hack#31

What will be the output of the following program?320364Compilation errorNone Of TheseCorrect answer 64Explanation:we know int is a 4-byte data byte while char is a 1-byte data byte. char pointer can keep the address one byte at a time.The binary value of 320 is00000000...

Sunday, 27 June 2021

Interview Hack#30 Answer

 What will be output if you will execute the following c code?0It will be difference of a and bIt will be addition of a and bCompilation errorAnswer: 4. Compilation errorExplanation:Register variables are stored in the CPU. So it has not a memory address. Hence it...

Saturday, 26 June 2021

Interview Hack#29 Answer:

 The output of the following Code:10 11 12 13 1410 10 10 10 10100 1 2 3 4 5ErrorAnswer:2. 10 10 10 10 10Explanation:The default storage class of the local variable is auto. The scope of auto variables is blocked in which it has been declared. When program control goes out...