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 |
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
To reverse an entire text file into another text file.... get d file names in cmd line
main() { int i, n; char *x = “girl”; n = strlen(x); *x = x[n]; for(i=0; i<n; ++i) { printf(“%s\n”,x); x++; } }
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
write a program in c to merge two array
print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!
35 Answers Tata Elxsi, TCS, VI eTrans,
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Print an integer using only putchar. Try doing it without using extra storage.
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
Design an implement of the inputs functions for event mode
program to find magic aquare using array