What are the following notations of defining functions known as?
i. int abc(int a,float b)
{
/* some code */
}
ii. int abc(a,b)
int a; float b;
{
/* some code*/
}
Answer / susie
Answer :
i. ANSI C notation
ii. Kernighan & Ritche notation
| Is This Answer Correct ? | 10 Yes | 0 No |
write a c-program to display the time using FOR loop
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }
Write a C function to search a number in the given list of numbers. donot use printf and scanf
WAP to display 1,2,3,4,5........N
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }
What are the following notations of defining functions known as? i. int abc(int a,float b) { /* some code */ } ii. int abc(a,b) int a; float b; { /* some code*/ }
how to delete an element in an array
Cau u say the output....?
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
#include<stdio.h> int main() { int a=3,post,pre; post= a++ * a++ * a++; a=3; pre= ++a * ++a * ++a; printf("post=%d pre=%d",post,pre); return 0; }