Answer Posted / udayakumar
local variables are the variables which are declared with in
a function and the scope of that variables are only within
that function.Global variables are the variables which are
declared globally.Since it is declared globally it can
accessible to all the functions inside the program...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How can I find out how much free space is available on disk?
What is new line escape sequence?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is static function in c?
Write a program that accept anumber in words
What are type modifiers in c?
Explain how can I avoid the abort, retry, fail messages?
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.
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What does #pragma once mean?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What are pointers? Why are they used?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.