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 |
main() { 41printf("%p",main); }8
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
Link list in reverse order.
Which version do you prefer of the following two, 1) printf(“%s”,str); // or the more curt one 2) printf(str);
int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); }
write a c program to Create employee record by taking details like name, employee id, address and phone number. While taking the phone number, take either landline or mobile number. Ensure that the phone numbers of the employee are unique. Also display all the details
write a program to Insert in a sorted list
1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?
how to return a multiple value from a function?
What is the hidden bug with the following statement? assert(val++ != 0);
how to return a multiple value from a function?
¦void main() ¦{ ¦int i=10,j; ¦ j=i+++i+++i; ¦printf("%d",j); ¦getch(); ¦} ¦ output:-30 but in same question if we write as- ¦void main() ¦{ ¦int i=10; ¦ int j=i+++i+++i; ¦printf("%d",j); ¦getch(); ¦} ¦ output:-33 why output is changed from 30 to 33. Can any body answer...