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.
explain memory layout of a C program
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.
Why & is used in c?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Explain what is a stream?
Tell me can the size of an array be declared at runtime?
Write a program to print "hello world" without using a semicolon?
Mention four important string handling functions in c languages .
what type of errors are checked during compilation
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.
write a function to swap an array a[5] elements like a[0] as a[5],a[1] as a[4],....a[5] as a[0].without using more than one loop and use one array not to use temp array?