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 9054write 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,
1 21441. What will be the output of the following programs.
a) #include
CSC,
7 10086what are threads ? why they are called light weight processes ? what is the relation between process and threads ?
1 3422what 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 6038write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
3 6824Read 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
1 3413can we declare a variable in different scopes with different data types? answer in detail
TCS,
3 5597An array name contains base address of the array. Can we change the base address of the array?
4 14013
What is pointers in c with example?
will u please send me the placement papers to my mail???????????????????
What is the difference between union and anonymous union?
develop algorithms to add polynomials (i) in one variable
Explain the difference between null pointer and void pointer.
what is ur strangth & weekness
How can I implement sets or arrays of bits?
write a c program to find the sum of five entered numbers using an array named number
swap 2 numbers without using third variable?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is the general form of a C program?
Is int a keyword in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is pointer to pointer in c with example?
What are compound statements?