What do you understand by friend-functions? How are they used?
No Answer is Posted For this Question
Be the First to Post Answer
Tell me what are bitwise shift operators?
How reliable are floating-point comparisons?
whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
What are the 3 types of structures?
What is void pointers in c?
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
Why array starts with index 0
Explain null pointer.
What is || operator and how does it function in a program?
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
What does %2f mean in c?