Is it possible to initialize a variable at the time it was declared?
Explain what is the difference between a string and an array?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
printf("%d",(printf("Hello")); What it returns?
What is the difference between malloc() and calloc()?
What is data structure in c and its types?
name the language for writing c compiler?
what is difference between ANSI structure and C99 Structure?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is pointer & why it is used?
What is #define?
What is the most efficient way to store flag values?
What is static and auto variables in c?