What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
No Answer is Posted For this Question
Be the First to Post Answer
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
progrem to generate the following series 1 12 123 1234 12345
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }
What does *p++ do?
What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
21 Answers ADITI, Student, TCS,
What are valid operations on pointers?
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
What are structure members?
Once I have used freopen, how can I get the original stdout (or stdin) back?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Explain is it valid to address one element beyond the end of an array?