What is binary tree in c?
No Answer is Posted For this Question
Be the First to Post Answer
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
what is the diff b/w static and non static variables in C. Give some examples plz.
What is #define used for in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Write a program for print infinite numbers
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
#define d 10+10 main() { printf("%d",d*d); }
write a program in c to print **** * * * * ****
Explain 'bit masking'?
main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
5 Answers Vector, Vector Solutions,
#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20