Print the output as follows by a c program without using loops? 1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1
How to write a C function which will return its stack size ?
If p is declared as char *p then what is size of(*P)?
int a=3,y; y=++a + a+++ --a+ ++a; printf("%d%d",y,a); Why value of y become 16.
What is the output of the following code? #include void main() { int s=0; while(s++
The function main( ) invokes other functions within it.It is the first function to be called when the program starts execution.Ø It is the starting functionØ It returns an int value to the environment that called the programØ ...
Write a program to reverse a linked list
A switch statement is generally best to use when you have more than two conditional expressions based on a single variable of numeric type.
How to write a C function which will return its stack size ?
If p is declared as char *p then what is size of(*P)?
int a=3,y; y=++a + a+++ --a+ ++a; printf("%d%d",y,a); Why value of y become 16.
What is the output of the following code? #include void main() { int s=0; while(s++
The function main( ) invokes other functions within it.It is the first function to be called when the program starts execution.Ø It is the starting functionØ It returns an int value to the environment that called the programØ ...
Write a program to reverse a linked list
A switch statement is generally best to use when you have more than two conditional expressions based on a single variable of numeric type.
What will be the code in c to get the following output?A B C D E F G F E D C B AA B C D E F F E D C B AA B C D E E D C B AA B C D D C B AA B C C B AA B B AA A
Is it possible to print colors with printf statements ?
An argument is an entity used to pass the data from calling funtion to the called funtion. Formal arguments are the arguments available in the funtion definition.They are preceded by their own data types.Actual arguments are available in the function call.
For integral types, on a machine that uses two’s complement arithmetic (which is just about any machine you’re likely to use), a signed type can hold numbers from –2(number of bits – 1) to +2(number of bits – 1) – 1. An unsigned type can hold values from 0 to +2(number of bits) – 1. For instance, a...
a file containing the one million directories , then find the a directory from the file and print it in c language.
we know that C is not platform independent.but if we make a program on a operating system and copy the same program on other os without any changes then this program will run after compiling and will give the same answer. so if same program will run on other os then why C is not platform independent.
What is the maximum length of command line arguments including space between adjacent arguments ?
0 comments:
Post a Comment