What is the use of static variable in c?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between strcpy() and memcpy() function?
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
What are Macros? What are its advantages and disadvantages?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...
How can I make sure that my program is the only one accessing a file?
What is selection sort in c?
how to find binary of number?
#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā%dā ,a[i]); }
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }