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
No Answer is Posted For this Question
Be the First to Post Answer
main() { int a=2,*f1,*f2; f1=f2=&a; *f2+=*f2+=a+=2.5; printf("\n%d %d %d",a,*f1,*f2); }
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
Write a c program to search an element in an array using recursion
To reverse an entire text file into another text file.... get d file names in cmd line
main( ) { char *q; int j; for (j=0; j<3; j++) scanf(“%s” ,(q+j)); for (j=0; j<3; j++) printf(“%c” ,*(q+j)); for (j=0; j<3; j++) printf(“%s” ,(q+j)); }
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
main() { int i = 3; for (;i++=0;) printf(“%d”,i); }
String reverse with time complexity of n/2 with out using temporary variable.
how to delete an element in an array
Find the largest number in a binary tree