• Register

Recent questions tagged function

0 votes
1 answer 1 view
Problem: I need some help making this into a MySQL function. Please guide me.
asked 13 hours ago anika11 4.1k points
0 votes
1 answer 1 view
Problem: Why is __attribute__ used in GNU C programs?
asked 15 hours ago anika11 4.1k points
0 votes
1 answer 1 view
Problem I want to write a c++ source code where return multiple values from a single function, how can i write it, Any help me
asked 1 day ago Subhendu 4.4k points
0 votes
1 answer 1 view
Problem I am new programmer in c++, I get two new keyword getters and setters, Anyone know how i uses this kwyword in our source code
asked 1 day ago Subhendu 4.4k points
0 votes
1 answer 1 view
Question: What is array to pointer decay? Is there any relation to array pointers?
asked 1 day ago Atik03 10.1k points
0 votes
1 answer 1 view
Question: I have a Computer Science Midterm tomorrow and I need help determining the complexity of these recursive functions. I know how to solve simple cases, but I am still trying to learn how to solve these harder cases. These were just a few of the example problems that I could not figure out. Any ... printf("%d, %d\n",m, o); } else { recursiveFun4(n-1, m+1, o); recursiveFun4(n-1, m, o+1); }
asked 2 days ago Atik03 10.1k points
1 vote
1 answer 2 views
Problem: I know how to return multiple values and that there are various ways to achieve this . My question is which method is most efficient and best for doing this ?
asked 2 days ago Ashty 6k points
0 votes
1 answer 2 views
Problem: How to do c program to convert decimal to binary without using array?
asked 2 days ago jamuna1 18.1k points
0 votes
1 answer 2 views
Problem: Hi there! I am learning programming. I have tried writing a program that converts a number passed to it to float and prints the converted value. Here is my code: #include<stdio.h> #include<conio.h> int convert(int) { float = (float) number; return ... most of these errors especially the first one. Could someone please help me figure out what I am doing wrong? I would be thankful.
asked 2 days ago Code Learner 9.2k points
0 votes
1 answer 2 views
Problem: Can anyone suggest to me on func_array?
asked 2 days ago zayed1 35.6k points
0 votes
1 answer 1 view
Problem: The following line seems very difficult for me.Please help someone to solve how to find output of random function in c++
asked 2 days ago ashik 12.9k points
0 votes
1 answer 2 views
Problem: When I run the code, everything appears to work, but the numbers that I get in the printout are not accurate. Not sure if it is the constructor I have that is set up wrong or what. I've just been banging my head against the wall trying to figure it out. Any help/advice would be much appreciated!
asked 2 days ago ummesalma 25.2k points
0 votes
1 answer 2 views
Problem: Static Functions in C++,I want to call my function from main without an object.But could not work.What am I doing wrong?
asked 3 days ago Humaira ahmed 15.1k points
0 votes
1 answer 3 views
Problem: I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent. Is there anything that can be done with one method that can't be done with the other?
asked 3 days ago ummesalma 25.2k points
0 votes
1 answer 1 view
Problem can someone please help for this problem? procedures and functions in oracle with examples
asked 3 days ago Rohit kr 16.2k points
0 votes
1 answer 2 views
Problem: I've tried to handle this error but no success: Stack around the variable was corrupted c
asked 3 days ago ummesalma 25.2k points
0 votes
1 answer 2 views
Problem: I just need someone to point me in the right direction,"how to convert decimal to ascii" any idea will be taken into consideration.
asked 5 days ago Humaira ahmed 15.1k points
0 votes
1 answer 2 views
Problem Why can't a struct's member variables be modified in a function? Any help would be much appreciated!
asked 5 days ago neeraj 10.5k points
0 votes
1 answer 3 views
Problem: I am in desperate need of help,,"how to call another function in python?"
asked 6 days ago sumaiya simi 15.8k points
0 votes
1 answer 2 views
Problem: I have the following structure: typedef struct _chess { int **array; int size; struct _chess *parent; } chess; and I have: typedef struct _chess *Chess; Now, I want to create an array of dynamic length to store pointers to the chess struct so ... : incompatible types when assigning to type &lsquo;struct _chess&rsquo; from type &lsquo;void *&rsquo; Any idea what am I doing wrong? Thanks.
asked 6 days ago munim01 12.9k points