How can I rethow can I return a sequence of random numbers which dont repeat at all?
No Answer is Posted For this Question
Be the First to Post Answer
#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 is difference between array and structure?
44 Answers College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,
Explain what are multibyte characters?
to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].
What is the difference between #include and #include 'file' ?
A C E G H +B D F A I ------------ E F G H D
In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a
CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.
Can we initialize extern variable in c?
What is a macro in c preprocessor?
what are # pragma staments?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?