main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
1 8935write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
ADP,
20821. What will be the output of the following programs.
a) #include
CSC,
7 9761what are threads ? why they are called light weight processes ? what is the relation between process and threads ?
1 3310what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?
1 5927write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
3 6623Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
3296can we declare a variable in different scopes with different data types? answer in detail
TCS,
3 5405An array name contains base address of the array. Can we change the base address of the array?
4 13778
Explain the difference between #include "..." And #include <...> In c?
What do you mean by dynamic memory allocation in c?
What are the key features in c programming language?
How would you rename a function in C?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What are qualifiers?
Can you subtract pointers from each other? Why would you?
Explain the use of function toupper() with and example code?
How can you increase the allowable number of simultaneously open files?
What are the advantages of external class?
how is the examination pattern?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Difference between exit() and _exit() function?
What math functions are available for integers? For floating point?
Write a program to check armstrong number in c?