208 views

1 Answer

Related questions

426
views
1 answers
0 votes
radha gogia asked Aug 10, 2015
426 views
CASE A: CASE A: &#8234;#&lrm;include&#8236;<stdio.h> int divide( int a, b) { return 7; } int main() { int a=divide(8,3); printf("%d",a); return 0; }CASE B ... then why not in case A , why is the type of b not considered to be of type int ?
1.3k
views
1 answers
3 votes
Parshu gate asked Nov 13, 2017
1,298 views
main( ){int num[ ] = { 24, 34, 12, 44, 56, 17 } ;dislpay ( &num[0], 6 ) ;} display ( int *j, int n ){int i ;for ( i = 0 ; i <= n - 1 ; i++ ){printf ( "\nelement = %d", *j ) ;j++ ;}}
2.7k
views
2 answers
0 votes
Nitesh Choudhary asked Apr 21, 2017
2,707 views
//gcc 5.4.0 #include<stdio.h> int main() { int i=3; float f=3.50,*ptr; float *multy(int ,float); ptr=multy(i,f); printf("\n%u %f",ptr,*ptr); ... (int ii,float jj) { float p=ii*jj; printf("%u %f",&p,p); return (&p); }
657
views
1 answers
0 votes
radha gogia asked Aug 9, 2015
657 views
#include<stdio.h> int f(); int main() { f(); return 0; }