Answer Posted / ayan
1>c is the procedural language & c++ is the object oriented
programming methodology.
2>In c++ there 3 types of operator u-nary,binary,ternary.
But in c there is only 2 types u-nary,binary.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is local and global variable in c?
Are local variables initialized to zero by default in c?
Why do we use int main instead of void main in c?
Explain what is wrong with this program statement?
What are the primitive data types in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is the default value of local and global variables in c?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Is return a keyword in c?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
What does #pragma once mean?
What is actual argument?
Who invented bcpl language?