What does p mean in physics?
No Answer is Posted For this Question
Be the First to Post Answer
how to swap 2 numbers within a single statement?
the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }
What is the difference between struct and union in C?
write a c program to find biggest of 3 number without relational operator?
what is the diffrenet bettwen HTTP and internet protocol
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
What are the types of variables in c?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Explain how do you declare an array that will hold more than 64kb of data?