How to get string length of given string in c?
No Answer is Posted For this Question
Be the First to Post Answer
explain what are pointers?
#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 1d array in c?
What are the types of arrays in c?
What is pragma in c?
How can I delete a file?
What is the modulus operator?
which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is difference between scanf and gets?
What are the types of type qualifiers in c?
What is a pointer?