Question: #include #include int main ( void ) { int * x = malloc ( sizeof ( int ) * 5 ) ; for ( int
#include
#include
int mainvoid
int x mallocsizeofint;
forint i ; i ; i
xi i;
CODE A
return ;
Assume that size of an integer is bytes and value of x to be in decimal. Which of the the following cases for CODE A are correct?
If CODE A is:
int y x;
printfd d d x y yx;
Output will be:
If CODE A is:
printfd x;
x ;
printfdx;
Output will be:
If CODE A is:
int y x ;
printfd d d x y yx;
Output will be:
If CODE A is:
int y x ;
printfd d d x y yx;
Output will be:
Group of answer choices
and
and
and
and
only
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
