A function can make the value of a variable available to another by
a) declaring the variable as global variable
b) Passing the variable as a parameter to the second function
c) Either of the two methods in (A) and (B)
d) binary stream
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to check palindrome number in c programming?
i am using gsm modem ! I USE CMGL COMMAND TO DISPLAY THE LIST OF MESSAGES ! I WANT TO READ EACH MESSAGE ONE BY ONE AND GET EACH MESSAGE INDEX USING C PROGRAM ! THE RESPONSE OF THE MODULE AFTER AT+CMGL IS ---CMGL: 1,"REC READ","+85291234567",,"07/05/01,08:00:15+32",145,37 It is easy to list SMS text messages.---- I WANT THE PROGRAM TO GET THE NUMBER "37"{MESSAGE LENGTH} AS WELL AS "1"(MESSAGE INDEX NUMBER" PLEASE HELP
What is the use of the #include directive?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Explain the concept and use of type void.
why we shiuld use main keyword in C
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.
compute the nth mumber in the fibonacci sequence?
10 Answers Canon, HPL, Satyam, TCS,
What is huge pointer in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,
What Is The Difference Between Null And Void Pointer?
What are register variables? What are the advantage of using register variables?