int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}};

int *p=&a;

printf(“%d”,*(*(x+1)+3));

Answers were Sorted based on User's Feedback



int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(“%d”,*(*(x+..

Answer / e

a instead of x then answer would be 5

Is This Answer Correct ?    4 Yes 2 No

int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(“%d”,*(*(x+..

Answer / vijay r15

error

Bcoz there is no initialization for x

With thanks and regards
Vijay r15
raj.vijay55@gmail.com

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Interview Questions

which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....

2 Answers  


Is c high or low level?

0 Answers  


How can I do serial ("comm") port I/O?

0 Answers   Celstream,


what is the meaning of 'c' language

3 Answers  


What is string function in c?

0 Answers  






What is the difference between %d and %*d in C

3 Answers  


why TCS selected more student in the software field from all institution.

5 Answers   TCS,


Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1

6 Answers  


for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????

8 Answers  


f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?

7 Answers   Hughes,


can a union be self-referenced?

1 Answers  


using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

0 Answers  


Categories