When you define a integer it gets stored in which data
structure?(Stack or a heap)
Answers were Sorted based on User's Feedback
Answer / shyam
Depends on where the integer is declared. If it s declared in a block it goes into stack.
If it s an static or global variable, it will not be stored in stack. It ll be stored in data segment of the running program.
Integer will never be stored in heap... never...
Is This Answer Correct ? | 1 Yes | 0 No |
how to find the correct email address format by using the programe?
Write a program to find out the number of palindromes in a sentence.
Write a program to sort the number with different sorts in one program ??
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku
What is the difference between class and object?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Give two or more real cenario of virtual function and vertual object
how can we design a magic square in c++?or suggest me the basic idea of it.
What is abstraction oop?
what is the difference b/w abstract and interface?
2 Answers Merrill Lynch, Schneider, Scio Healthcare,
Program to check whether a word is in all capital letters
Why interface is used?