how we can make 3d venturing graphics on outer interface
Write a code of a general series where the next element is the sum of last k terms.
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is the difference between arrays and pointers?
which header file contains main() function in c?
17 Answers Google, HCL, TCS,
what's the return value of malloc()
Do array subscripts always start with zero?
What is the difference between struct and union in C?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
How would you use the functions fseek(), freed(), fwrite() and ftell()?
0 Answers Aspire, Infogain, TISL,
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }