what different between c and c++
Answer / shivangi
c is procedural programming language and c++ is oop. then c is use of scan, printf and c++ is use of cin>> or count.
c is doesn't refrence variable and c++ is support refrence variable.
| Is This Answer Correct ? | 1 Yes | 0 No |
how can u print a message without using any library function in c
#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?
What is the difference between text and binary modes?
const char * char * const What is the differnce between the above tow?.
Write a program to reverse a string.
0 Answers Global Logic, iNautix, TCS, Wipro,
how to copy a string without using c function
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
prototype of sine function.
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
What is data structure in c and its types?
Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error