what will be the out put.
#include
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
2 6547if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?
2 10889Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
2 5394write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR
5 14989Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
2580
What is the sizeof () operator?
How many bytes is a struct in c?
What is string function c?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Why is extern used in c?
What are header files? What are their uses?
in linking some of os executables are linking name some of them
find out largest elemant of diagonalmatrix
What is an array in c?
I heard that you have to include stdio.h before calling printf. Why?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
write a programming in c to find the sum of all elements in an array through function.
How the c program is executed?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What are structures and unions? State differencves between them.