What is the right type to use for boolean values in c?
No Answer is Posted For this Question
Be the First to Post Answer
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
how to write a c program to print list of fruits in alpabetical order?
What is strcpy() function?
Program to find larger of the two numbers without using if-else,while,for,switch
Is it better to use malloc() or calloc()?
What do you understand by normalization of pointers?
What does 4d mean in c?
explain how do you use macro?
palindrome for strings and numbers----Can anybody do the prog?
6 Answers CTS, TCS, Vipro Lifescience Pvt,
Difference between macros and inline functions? Can a function be forced as inline?
0 Answers HAL, Honeywell, Zomato,
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!
Famous puzzles which are generally asked by companies during interviews ?