Give me basis knowledge of c , c++...

Answer Posted / sri

in C structures are used...but in cpp classes are
used..which is more secured

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many levels deep can include files be nested?

656


what do you mean by enumeration constant?

601


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

1601


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1130


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

2725






When is the “void” keyword used in a function?

847


What is static identifier?

706


What is putchar() function?

640


How does sizeof know array size?

634


Why is this loop always executing once?

621


What is a lookup table in c?

631


What is void c?

571


What are the restrictions of a modulus operator?

641


What is size of union in c?

586


What does return 1 means in c?

591