C Programming - Pointers - Discussion
Discussion Forum : Pointers - Find Output of Program (Q.No. 2)
2.
What will be the output of the program ?
#include<stdio.h>
int main()
{
int i=3, *j, k;
j = &i;
printf("%d\n", i**j*i+*j);
return 0;
}
Discussion:
65 comments Page 7 of 7.
Ksk said:
4 years ago
Thank you for explaining this @Rahul.
Uma mahesh said:
1 decade ago
Thanks to all great explanation.
Prakash said:
1 decade ago
Thank so far Nihar and munny
Deepika said:
1 decade ago
Thanks Nihar
Sai said:
1 decade ago
3*3*3+3=30
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers