You are not logged in.

#1 2015-09-12 06:28:34

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Program Code:

C Programming Quizzes C Language Pointer

Directions:
#include <stdio.h>
void main()
{
    int i=3, *j, **k;
    j = &i;
    k = &j;
    printf("%d%d%d", *j, **k, *(*k));
}

Question:
What will be the output of the following program code?

Option A):
444
Option B):
333
Option C):
000
Option D):
433

Correct Answer is Option B):
333


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-12 06:28:34

Advertisement
Ads By Google

Re: Program Code:



Board footer