What is the advantage of an array over individual variables?
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }
Find the output? void main() {float a=2.0; printf("\nSize of a ::%d",sizeof(a)); printf("\nSize of 2.0 ::%d",sizeof(2.0));}
11 Answers IBM, TCS,
why u join this call center?
What is C language ?
wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
plz answer..... a program that reads non-negative integer and computes and prints its factorial
What is a const pointer, and how does it differ from a pointer to a const?
what is a stack
How do I create a directory? How do I remove a directory (and its contents)?
3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r
What are actual arguments?
What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort