write a c program to find the probability of random numbers between 1-1000
how to add two numbers without using arithmetic operators?
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..
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
what is difference between c and c++
What does a run-time "null pointer assignment" error mean?
Explain is it valid to address one element beyond the end of an array?
HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE
What is actual argument?
A program to write a number of letters and numbers, such as counting and display
Explain function pointer with exapmles.
write a progam to compare the string using switch case?
p*=(++q)++*--p when p=q=1 while(q<=6)