write a c program to find the probability of random numbers between 1-1000


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

how to add two numbers without using arithmetic operators?

4 Answers  


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..

1 Answers  


enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }

4 Answers   ME,


what is difference between c and c++

4 Answers  


What does a run-time "null pointer assignment" error mean?

2 Answers  






Explain is it valid to address one element beyond the end of an array?

0 Answers  


HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE

3 Answers   Wipro,


What is actual argument?

0 Answers  


A program to write a number of letters and numbers, such as counting and display

0 Answers  


Explain function pointer with exapmles.

2 Answers  


write a progam to compare the string using switch case?

1 Answers  


p*=(++q)++*--p when p=q=1 while(q<=6)

0 Answers   KINPOE,


Categories