What is scope operator in c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?

2 Answers   CTS,


What is the difference between #import and #include?

0 Answers  


What does namespace mean in c++?

0 Answers  


if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.

3 Answers  


What is vectorial capacity?

0 Answers  






Write a C/C++ program to show the result of a stored procedure "PROC_RESET_MAIL" on database "USER_NOTIFY".

2 Answers   ABC, Accenture, DataLand, HCL, Webyog,


Can we declare destructor as static? Explain?

3 Answers  


Explain what are accessor methods?

0 Answers  


What is static class data?

0 Answers  


What are the differences between a struct and a class in C++?

7 Answers   Amazon, Wipro,


Is c++ free?

0 Answers  


1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


Categories