False because we can write functions in structures also..
Here is the example to illustrate the above statement..
CODE:
#include<iostream>
using namespace std;
struct person
{
int debit,salary,profit;
void sub()
{
debit=10;
salary=15;
profit=salary-debit;
cout<<profit<<endl;
}
}obj;
int main()
{
obj.sub();
obj.debit=20;
cout<<obj.debit<<endl;
return 0;
}
OUTPUT:

If you have any doubts please COMMENT..
If you understand the answer please give THUMBS UP...
The primary difference between classes and structures is that classes can have functions in them while...
Difference between employing functions and classes in object oriented programing?
fourteen C6H14O compounds, and classify them as eight primary and six secondary structures, if possible can it be show the structures and their names? Thanks!
one primary difference between c-corporation and s-corporation is that s-corporation are subject to double taxation a)true b)false
Which of the following cells have "storage" as one of their primary functions? Check All That Apply Fat cells Fat cells Lymphocytes Lymphocytes Liver cells Liver cells Epidermal cells 2) True or False Lysosomes function in the destruction and recycling of old organelles. 3) True or False The nucleus is surrounded by a single lipid bilayer, just like the cell.
What is the difference between heterozygous and homozygous individuals? Homozygotes have one chromosome while heterozygotes have two similar chromosomes. The homozygote will express the dominant trait and the heterozygote will express the recessive trait. All of the gametes from a homozygote carry the same version of the gene while those of a heterozygote will differ. Heterozygotes carry two copies of a gene while homozygotes only carry one. When constructing a Punnett square, the symbols on the outside of the boxes...
What is the difference between the String class and the StringBuilder class in the API? Group of answer choices they are in different packages a String can only contain letters while a StringBuilder can contain any character a String is immutable and a StringBuilder is mutable there is no difference A class can directly extend many classes. Group of answer choices True False With this declaration: Student s1; What possible values can s1 hold? Group of answer choices с a...
The difference between PCR and real-time PCR is that real-time PCR: can determine the DNA lence, while standard PCR cannot. O requires primers, while standard PCR does not. can measure the amount of DNA amplified as the reaction proceeds, while standard PCR cannot. can amplify DNA a billion-fold within just a few hours, while standard PCR cannot. O uses DNA polymerase, while standard PCR does not.
in economics, profits are simply the difference between revenue and expense; while in accounting, (normal) profits are a cost. true false productive efficiency refers to cost minimization, where p= minimum ATC. true false in a typical graph for a purely competitive firm, the intersection of the marginal cost and marginal revenue curves would be the shutdown point true false
QUESTION 27 The primary difference between: (1) accounting for a business combination when the subsidiary is dissolved; and (1) accounting for a business combination when the subsidiary retains its incorporation is if the subsidiary retains its incorporation, the consolidation is not formally recorded in the accounting records of the acquiring company True. False.
The primary difference between a change in supply and a change in the quantity supplied is that: Select one: O a. a change in supply is related to the supply curve, while a change in quantity supplied is related to shifts in the demand curve that shift the supply curve. O b. both a change in quantity supplied and a change in supply are movements along the supply curve, only in different directions. O c. a change in quantity supplied...