write a c program to input initial & final time in the
format hh:mm and find the time intervel between them? Ex
inputs are initial 06:30 final 00:05 and 23:22 final 22.30
No Answer is Posted For this Question
Be the First to Post Answer
int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }
main() { char name[10],s[12]; scanf(" \"%[^\"]\"",s); } How scanf will execute?
main() { int x=5; for(;x!=0;x--) { printf("x=%d\n", x--); } } a. 5, 4, 3, 2,1 b. 4, 3, 2, 1, 0 c. 5, 3, 1 d. none of the above
#include<stdio.h> void fun(int); int main() { int a; a=3; fun(a); printf("\n"); return 0; } void fun(int i) { if(n>0) { fun(--n); printf("%d",n); fun(--n); } } the answer is 0 1 2 0..someone explain how the code is executed..?
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
writte a c-programm to display smill paces
main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcat(a,b)); } a. Hello b. Hello World c. HelloWorld d. None of the above
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }
What is your nationality?