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
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 |
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....
Is c high or low level?
How can I do serial ("comm") port I/O?
what is the meaning of 'c' language
What is string function in c?
What is the difference between %d and %*d in C
why TCS selected more student in the software field from all institution.
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
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
f(*p) { p=(char *)malloc(6); p="hello"; return; } main() { char *p="bye"; f(p); printf("%s",p); } what is the o/p?
can a union be self-referenced?
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.