#include<stdio.h> #include<stdbool.h> bool fn(char *a , int b , char c) { return true; }
int main() { int it = 2; char ct = 'c'; char a[30]; printf("%d\n",(sizeof(fn(a , it , ct)))); } in gcc 32 bit compiler the above code is always printing 1 even if i change the no of argument in fn() why?? pls explain.. -- Thanks and Regards: Rahul Kumar Patle<http://www.linkedin.com/profile/view?id=106245716&trk=tab_pro> M.Tech, School of Information Technology Indian Institute of Technology, Kharagpur-721302, India<http://www.iitkgp.ac.in/> Mobile No: +91-8798049298, +91-9424738542 Alternate Email: rahulkumarpa...@hotmail.com -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.