What do you mean by recursion in c?
No Answer is Posted For this Question
Be the First to Post Answer
Give the rules for variable declaration?
How many types of errors are there in c language? Explain
How to calculate Total working time using Login and logout?
2 Answers CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,
Why do we use namespace feature?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
Why is struct padding needed?
What does #pragma once mean?
main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }
Explain continue keyword in c
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!
What is #line?
Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...