[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.

C Programming :: Arrays - Discussion

Home > C Programming > Arrays > MCQs Questions Discussion

48 / 55

What will be output of following c program?

#include<stdio.h>
int main ()
 {
 int i = 2;
 twice (2);
 printf ("%d", i);
 }
 twice (int i)
 {
 print ("Inside");
 }
int i, b[] = {1, 2, 3, 4, 5}, *p;
 p = b;
 ++*p;
 p += 2;

What is the value of *p;

A2

B3

C1

D4

E5

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here