What is the code in while loop that returns the output of given code?
No Answer is Posted For this Question
Be the First to Post Answer
read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50
Write a code to reverse string seperated by spaces i/p str=India is my country o/p str=aidnI si ym yrtnuoc After writing code, optimize the code
What is the use of define in c?
How can I insert or delete a line (or record) in the middle of a file?
What is pointer in c?
how would a 4*3 array A[4][3] stored in Row Major Order?
program to locate string with in a string with using strstr function
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
what is the format specifier for printing a pointer value?
Difference between Class and Struct.
13 Answers Ericsson, Motorola, Wipro,
what is meant by the "equivalence of pointers and arrays" in C?
How do I use void main?