How can I ensure that integer arithmetic doesnt overflow?
No Answer is Posted For this Question
Be the First to Post Answer
What is static and volatile in c?
What is operator precedence?
What are pointers really good for, anyway?
What is a segmentation fault?
What is a function simple definition?
what are the facialities provided by you after the selection of the student.
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
can we declare a function in side the structure?
Define function ?Explain about arguments?
2 Answers Geometric Software, Infosys,
what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā%d\nā,j); }
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
main() { float a=3.2e40; printf("%d",a); }