how is returning structurs from functions?Show an eg?
Answer / ravi.g
struct student
{
int age;
float percntg;
};
struct student s1;
int a=25;
float p=88.99;
student assign(a,p)
{
student s2;
s2.age=a;
s2.percntg=p;
return s2;
}
Is This Answer Correct ? | 3 Yes | 0 No |
Is c++ vector dynamic?
When is a template better solution than a base class??
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is an incomplete type in c++?
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
What is the purpose of template?
When is a template a better solution than a base class?
Is there a c++ certification?
Which one is better- macro or function?
what is oops
What is the use of namespace std in C++?