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*/

}



What are the following notations of defining functions known as? i. int abc(int a,floa..

Answer / susie

Answer :

i. ANSI C notation

ii. Kernighan & Ritche notation

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More C Code Interview Questions

main() { 41printf("%p",main); }8

1 Answers  


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

1 Answers  


Link list in reverse order.

8 Answers   NetApp,


Which version do you prefer of the following two, 1) printf(“%s”,str); // or the more curt one 2) printf(str);

1 Answers  


int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); }

2 Answers   CSC,






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

2 Answers   TCS,


write a program to Insert in a sorted list

4 Answers   Microsoft,


1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?

2 Answers  


how to return a multiple value from a function?

2 Answers   Wipro,


What is the hidden bug with the following statement? assert(val++ != 0);

1 Answers  


how to return a multiple value from a function?

5 Answers   Wipro,


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

3 Answers  


Categories