Why doesn't C support function overloading?
Answers were Sorted based on User's Feedback
Function Overloading allows us to have multiple functions with the same name but with different function signatures in our code. These functions have the same name but they work on different types of arguments and return different types of data. ... Therefore, C does not support function overloading.
| Is This Answer Correct ? | 0 Yes | 1 No |
Function Overloading allows us to have multiple functions with the same name but with different function signatures in our code. These functions have the same name but they work on different types of arguments and return different types of data. ... Therefore, C does not support function overloading.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is an arrays?
#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
What is this infamous null pointer, anyway?
Write down the program to sort the array.
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?
What are the types of i/o functions?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
where do we use volatile keyword?
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
What is calloc in c?
what is c?
Is null always defined as 0(zero)?