693 views

2 Answers

0 votes
0 votes
Answer should be 6

'ip' variable will get location of element with value 5. So ip[1] will return *(ip+1), i.e. 6

Related questions

1 votes
1 votes
2 answers
1
Manoj Kumar Pandey asked Feb 4, 2019
903 views
4 votes
4 votes
0 answers
2
5 votes
5 votes
1 answer
3
gatecse asked Jul 26, 2020
414 views
What will be the output of the following C program?#include<stdio.h int main() { int a, b = 2, c = 3; a = b, c++; printf("%d %d %d", a, b, c); }Compiler Error$3\; 3\; 4$$...