Design an implement of the inputs functions for event mode
No Answer is Posted For this Question
Be the First to Post Answer
what is the code of the output of print the 10 fibonacci number series
Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.
void ( * abc( int, void ( *def) () ) ) ();
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
#include<stdio.h> main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
How do you write a program which produces its own source code as its output?
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }
How to count a sum, when the numbers are read from stdin and stored into a structure?
Display the time of the system and display the right time of the other country
main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }