[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Commvault Written Test Qs.(Technical Aptitude) :: Structures, Unions, Enums - Discussion

7 / 40

What is the output of the program,if the base address of the array is 1244896?

#include <stdio.h>
void main () {
struct {
float c ,
union p { 
char c; 
char *cp; 
short s;

} uvar[5);

} svar [6];

printf("%d %d", &svar[2], &svar[5]);


A1244784 1244976

B1244944 1245016

C1244784 1244932

D1244944 1244992

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Commvault

Post Your Answer Here:     

No Discussion on this question yet!