int a=20;
int b=30;
int c=40;
printf("%d%d%d");
what will be the output?
Answers were Sorted based on User's Feedback
Answer / sangam khera
depending upon the compiler ....
IN TURBO C++ -> it will give an error a,b,c assigned a valued that is never used."
IN GCC(DEV C++)->it will give garbage value....
| Is This Answer Correct ? | 2 Yes | 0 No |
enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
What are the ways to a null pointer can use in c programming language?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Explain what does the function toupper() do?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
how to find sum of digits in C?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Why cant I open a file by its explicit path?
What is the difference between malloc calloc and realloc in c?
How do you initialize pointer variables?
what is the use of using linked list and array?